package com.compty.paint.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Todo:市场行情指数
 * @author: zhuqh
 * @CreateTime:2011-9-15 下午05:56:35
 */
@Entity
@Table(name = "t_market_index")
public class Market_index  implements Serializable {

	private static final long serialVersionUID = 3813279583595382537L;
	
	private Long id;
	
	private String time_period;
	
	private String price;

	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "time_period", length = 50)
	public String getTime_period() {
		return time_period;
	}

	public void setTime_period(String timePeriod) {
		time_period = timePeriod;
	}

	@Column(name = "price", length = 50)
	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
}
